package com.tangding.log.impl;

import org.springframework.stereotype.Component;

import com.tangding.log.LogMatcher;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年12月20日_下午5:00:05
 *
 */
@Component
public class GiveOperateLog extends LogMatcher {
	
	@Override
	public String cmdDisplay(String cmd, Object... args) {
		Object[] as = (Object[])(args[0]);
		return "设置" + ((Boolean)(as[0]) ? "开启赠送" : "屏蔽赠送");
	}
}